all:
	@(cd string; make)
	@(cd fstream; make)
	@(cd xml; make)
	@(cd json; make)
	@(cd mime; make)
	@(cd socket_stream; make)
	@(cd charset; make)
	@(cd rfc2047; make)
	@(cd rfc822; make)
	@(cd hsclient; make)
	@(cd mem_cache; make)
	@(cd logger; make)
#	@(cd pipe_stream; make)
	@(cd socket_client; make)
	@(cd http_client; make)
#	@(cd http_client2; make)
#	@(cd final_class; make)
	@(cd zlib; make)
	@(cd http_servlet; make)
	@(cd cgi; make)
	@(cd cgi_upload; make)
	@(cd http_mime; make)
	@(cd http_test; make)
	@(cd session; make)
	@(cd http_response; make)
	@(cd rpc_download; make)
	@(cd md5; make)
	@(cd http_server; make)
	@(cd beanstalk; make)
	@(cd beanstalk2; make)
	@(cd master; make)
	@(cd master_aio_proxy; make)
	@(cd benchmark; make)
	@(cd fs_benchmark; make)
	@(cd http_request_pool; make)
	@(cd memcache_pool; make)
	@(cd udp_client;make)
	@(cd thread; make)
	@(cd thread_pool; make)
	@(cd thread_client; make)
	@(cd http_request_manager; make)
	@(cd dircopy; make)
	@(cd scan_dir; make)
	@(cd socket; make)
	@(cd db; make)
	@(cd redis; make)
	@(cd dbuf; make)

clean:
	@(cd string; make clean)
	@(cd fstream; make clean)
	@(cd xml; make clean)
	@(cd json; make clean)
	@(cd mime; make clean)
	@(cd socket_stream; make clean)
	@(cd charset; make clean)
	@(cd rfc2047; make clean)
	@(cd rfc822; make clean)
	@(cd hsclient; make clean)
	@(cd mem_cache; make clean)
	@(cd logger; make clean)
#	@(cd pipe_stream; make clean)
	@(cd socket_client; make clean)
	@(cd http_client; make clean)
	@(cd http_client2; make clean)
	@(cd final_class; make clean)
	@(cd zlib; make clean)
	@(cd http_servlet; make clean)
	@(cd cgi; make clean)
	@(cd cgi_upload; make clean)
	@(cd http_mime; make clean)
	@(cd http_test; make clean)
	@(cd session; make clean)
	@(cd http_response; make clean)
	@(cd rpc_download; make clean)
	@(cd md5; make clean)
	@(cd http_server; make clean)
	@(cd beanstalk; make clean)
	@(cd beanstalk2; make clean)
	@(cd master; make clean)
	@(cd master_aio_proxy; make clean)
	@(cd benchmark; make clean)
	@(cd fs_benchmark; make clean)
	@(cd http_request_pool; make clean)
	@(cd memcache_pool; make clean)
	@(cd udp_client;make clean)
	@(cd thread; make clean)
	@(cd thread_pool; make clean)
	@(cd thread_client; make clean)
	@(cd http_request_manager; make clean)
	@(cd dircopy; make clean)
	@(cd scan_dir; make clean)
	@(cd socket; make clean)
	@(cd db; make clean)
	@(cd redis; make clean)
	@(cd dbuf; make clean)

rebuild rb: clean all
